package com.sdy.hospitalguard.web.vo;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

@Data
@Accessors(chain = true)
public class ManagerVO {
    private static final long serialVersionUID = 1L;

    /**
     * ID
     */
    @TableId
    @ApiModelProperty(value = "id")
    @ExcelIgnore
    private Integer id;

    /**
     * 手机号
     */
    @ExcelProperty(value = "登陆账号", index = 1)
    @ApiModelProperty(value = "手机号")
    private String phone;

    /**
     * 姓名
     */
    @ExcelProperty(value = "姓名", index = 0)
    @ApiModelProperty(value = "姓名")
    private String name;

    /**
     * 状态 1-有效 2-无效
     */
    @ExcelIgnore
    @ApiModelProperty(value = "状态 1-启用 2-禁用")
    private Integer state;

    /**
     * 状态 1-有效 2-无效
     */
    @ExcelProperty(value = "状态", index = 2)
    @ApiModelProperty(value = "状态 1-启用 2-禁用")
    private String stateStr;

}
